package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsInventoryDao;
import com.appkubes.mall.core.entity.MallGoodsInventory;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsInventoryService extends AbstractBaseService<BaseMallGoodsInventoryDao, MallGoodsInventory> {

    MallGoodsInventory getOneByEntity(MallGoodsInventory entity);

    List<MallGoodsInventory> selectListByEntity(MallGoodsInventory entity);

    IPage<MallGoodsInventory> selectPageByEntity(IPage<MallGoodsInventory> page);
    IPage<MallGoodsInventory> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsInventory> selectPageByEntity(MallGoodsInventory entity, IPage<MallGoodsInventory> page);
    IPage<MallGoodsInventory> selectPageByEntity(MallGoodsInventory entity, PageVO pageVO);

    IPage<MallGoodsInventory> selectPageByEntity(MallGoodsInventory entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsInventory entity);
}
